From: Carlos Garnacho Date: Thu, 15 Mar 2018 13:01:51 +0000 (+0100) Subject: inputMethod: Pass all key events through the current IM method X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~970^2^2~26 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=36c7d65ccf7d3927dc9b6a9356291b92ae249c94;p=gnome-shell.git inputMethod: Pass all key events through the current IM method Even though we are using an "xkb" source, it still makes sense to pass the event through the IBus simple engine, in order to let it handle compose keys and ctrl+shift+[u|e]. https://gitlab.gnome.org/GNOME/gnome-shell/issues/115 Closes: #115 --- diff --git a/js/misc/inputMethod.js b/js/misc/inputMethod.js index addc20f4e..621483243 100644 --- a/js/misc/inputMethod.js +++ b/js/misc/inputMethod.js @@ -188,8 +188,7 @@ var InputMethod = new Lang.Class({ vfunc_filter_key_event(event) { if (!this._context || !this._enabled) return false; - if (!this._currentSource || - this._currentSource.type == Keyboard.INPUT_SOURCE_TYPE_XKB) + if (!this._currentSource) return false; let state = event.get_state();